package main

import "fmt"

//0ms 100%,1.9MB 15%/100% 同样的代码第一次击败15%，第二次击败100%
func minimumMoves(s string) int {
	count := 0
	for i := 0; i < len(s); i++ {
		if s[i] == 'X' {
			count++
			i += 2
		}
		fmt.Println(i)
	}
	return count
}

func main() {
	s := "dsdsd"
	for _, v := range s {
		fmt.Println(v)
	}
	minimumMoves("XXXXXXOOO")
}
